import request from '../utils/request'

/**
 * 我的-获取用户信息
 */
export const getUserInfoAPI = () => {
  return request.get('/user/info')
}

/**
 * 我的-余额，积分，优惠券
 */
export const getUserAssetsAPI = () => {
  return request.get('/user/assets')
}

/**
 * 获取用户订单数量(全部/待支付/待收货/待发货)
 */
export const getOrderCountsAPI = () => {
  return request.get('/order/todoCounts')
}
